package org.fixed.dubboconsumer.entity;

import org.apache.commons.lang.StringUtils;

/**
 * 〈一句话功能简述>
 * ${DESCRIPTION}
 * Author:xuzhongwei
 * Date:2019/1/3
 */

public class ParamDTO {

    /**
     * 参数类型
     */
    private String paramType;

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public String getParamTypeStr(){
        int pos = this.paramType.lastIndexOf(".");
        return StringUtils.substring(this.paramType,pos+1);
    }
}
